FROM registry.cn-beijing.aliyuncs.com/lhtzbj12/dotnet_core_aspnet:3.1 AS base
EXPOSE 80
EXPOSE 443

FROM base AS final
WORKDIR /app
COPY bin/publish .
ENTRYPOINT ["dotnet", "DockerCompose.Sample.Api.dll","--urls=http://0.0.0.0:80"]
